package org.eiahe.hr.salary.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.ehe.common.mybatis.core.domain.BaseEntity;

import java.util.Date;

/**
 * 员工手机关联表
 *
 * @author zhangnn
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hr_employee_phone_association")
public class EmployeePhoneAssociation extends BaseEntity {

    /**
     * 关联ID
     */
    @TableId(value = "association_id", type = IdType.AUTO)
    private Long associationId;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 工号
     */
    private String employeeNo;

    /**
     * 手机号
     */
    private String phoneNumber;

    /**
     * 关联时间
     */
    private Date associationTime;

    /**
     * 验证状态(0未验证 1已验证)
     */
    private String verificationStatus;

    /**
     * 验证方式(短信验证码/人脸识别)
     */
    private String verificationMethod;

    /**
     * 删除标志(0存在 1删除)
     */
    @TableLogic
    private String delFlag;

}